<include file="application/admin/view/public/left.html"/>
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('Index/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">会员申请列表</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="{:U('Member/shenhe')}" method="post">
                    <table class="search-tab">
                        <tr>
                            <td width="70">会员账号:</td>
                            <td><input class="common-text" placeholder="关键字" name="email" type="text"></td>
                              <td width="70">会员ID:</td>
                            <td><input class="common-text" placeholder="ID" name="member_id" type="text"></td>
                            <td><input class="btn btn-primary btn2"  value="查询" type="submit"></td>
                            
                        </tr>
                    </table>
                </form>
				
            </div>
        </div>
        <div class="result-wrap">

           
            <div class="result-content">
                <table class="result-tab" width="100%">
                    <tr>
                        <th>ID</th>
                        <th>会员账号</th>
						<th>推荐人账号</th>
                        <th>申请时间</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                    <volist name='list' id='vo'>
                        <tr>
                            <td>{$vo['id']}</td>
                            <td>{$vo['accout']}</td>
							<td>{$vo['tuijian']}</td>
                            <td>{$vo['add_time']|date="Y-m-d H:i:s",###}</td>
                            <td><if condition="$vo['status'] eq 0">
									等待审核
								</if>
								<if condition="$vo['status'] eq -1">
                                    <i style="color:#F00; font-weight:bold;">禁用</i>
									
								</if>
								<if condition="$vo['status'] eq 1">
									已经通过
								</if>
								</td>
                            <td>
                                <a class="link-del" href="{:U('Member/audit',array('member_id'=>$vo['member_id'],'status'=>-1))}" onclick="return confirm('确认驳回吗？')" >驳回</a>
                                <br><a class="link-update" href="{:U('Member/audit',array('member_id'=>$vo['member_id'],'status'=>1))}" >通过</a>
                            </td>
                        </tr>
                    </volist>

                </table>
                <div class="list-page"> <ul>{$page}</ul></div>
            </div>

        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
<script>
$(".sub-menu").eq(1).show();
$(".sub-menu").eq(1).children("li").eq(6).addClass("on");
</script>
